<?php
namespace app\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;
use app\api\controller\Wxlogin;

class WeixinCommand extends Command
{
    protected function configure()
    {
        $this->setName('WeixinCommand')->setDescription('微信公众号单次爬虫！！');
    }
    protected function execute(Input $input, Output $output)
    {
        $wx = new Wxlogin(); 
        $wx->everyDay();
    }
}